package com.framework.admin.mapper;

import com.framework.admin.domain.vo.DeptUserTreeVo;
import com.framework.admin.model.SysDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 部门
 * @author lusy
 *
 */
@Mapper
public interface SysDeptMapper {
	List<DeptUserTreeVo> getTopList();

	List<DeptUserTreeVo> getChildList();
	
	List<SysDept> findDept(@Param("dept") SysDept dept, @Param("authCodes") List<String> authCodes);
}
